package com.wang.bootdemo.service.impl;

import com.wang.bootdemo.entity.TypeEntity;
import com.wang.bootdemo.mapper.Typemapper;
import com.wang.bootdemo.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {
    @Autowired(required = false)
    private Typemapper typeMapper;

    @Override
    public List<TypeEntity> SelectAll() {
        return typeMapper.selectAll();
    }
}
